/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.space.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fuyao.cloud.common.core.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

/**
 * 房屋模块
 *
 * @author 时间的朋友
 * @date 2021-11-09 15:19:15
 */
@Data
@TableName("fy_room_land")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "土地房屋模块")
public class RoomLand extends BaseEntity<RoomLand> {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("主键Id")
    private Long id;

    /**
     * 资产编码
     */
    @ApiModelProperty(value="资产编码")
    @TableField(condition = SqlCondition.LIKE)
    private String assetNumber;

    /**
     * 资产名称
     */
    @ApiModelProperty(value="资产名称")
    @TableField(condition = SqlCondition.LIKE)
    private String assetName;

    /**
     * 登记日期
     */
    @ApiModelProperty(value="登记日期")
    private LocalDate registrationDate;

    /**
     * 使用状况{在用、出租出借、闲置、待处置（待报废、销毁）、已处置}
     */
    @ApiModelProperty(value="使用状况{在用、出租出借、闲置、待处置（待报废、销毁）、已处置}")
    private String status;

    /**
     * 土地编号
     */
    @ApiModelProperty(value="土地编号")
    private String landNumber;

    /**
     * 坐落位置
     */
    @ApiModelProperty(value="坐落位置")
    private String location;

    /**
     * 使用权类型
     */
    @ApiModelProperty(value="使用权类型")
    private String usufructType;

    /**
     * 取得方式
     */
    @ApiModelProperty(value="取得方式")
    private String acquireWay;

    /**
     * 批准用途
     */
    @ApiModelProperty(value="批准用途")
    private String permittedUse;

    /**
     * 实际用途
     */
    @ApiModelProperty(value="实际用途")
    private String practicalUse;

    /**
     * 使用年限
     */
    @ApiModelProperty(value="使用年限")
    private String usefulLife;

    /**
     * 取得日期
     */
    @ApiModelProperty(value="取得日期")
    private LocalDate builddate;

    /**
     * 权属性质
     */
    @ApiModelProperty(value="权属性质")
    private String ownershipType;

    /**
     * 权属证明
     */
    @ApiModelProperty(value="权属证明")
    private String ownershipProve;

    /**
     * 权属证号
     */
    @ApiModelProperty(value="权属证号")
    private String ownershipNumber;

    /**
     * 产权形式
     */
    @ApiModelProperty(value="产权形式")
    private String propertyType;

    /**
     * 总建筑面积（平米）
     */
    @ApiModelProperty(value="总建筑面积（平米）")
    private String overallFloorage;

    /**
     * 权属面积（平米）
     */
    @ApiModelProperty(value="权属面积（平米）")
    private String ownershipArea;

    /**
     * 基本地价（万元）
     */
    @ApiModelProperty(value="基本地价（万元）")
    private String landPrice;

    /**
     * 发证日期
     */
    @ApiModelProperty(value="发证日期")
    private LocalDate issueDate;

    /**
     * 土地使用证号
     */
    @ApiModelProperty(value="土地使用证号")
    private String landusagePermit;

    /**
     * 经度
     */
    @ApiModelProperty(value="经度")
    private String x;

    /**
     * 纬度
     */
    @ApiModelProperty(value="纬度")
    private String y;

    /**
     * 备注
     */
    @ApiModelProperty(value="备注")
    private String remarks;

}
